import request from '@/utils/request'

const fundStatisticsService = {
    // 险金[汇总表] -> 林志胜
    async queryTableBodyData(params) {
        return request('/api/finance/salary/v1/report/socialTotalReport/data', {
            method: 'POST',
            data: params
        });
    },

    // 险金[汇总表]excel导出
    async excelExport(params) {
        return request('/api/finance/salary/v1/excel/export/socialTotalReport', {
            method: 'POST',
            getResponse: true,
            encryption: false,
            isFile: true,
            responseType: 'blob',
            headers: { 'Content-Type': 'application/json' },
            data: params
        });
    }
};

export default fundStatisticsService;
